package com.mixmall.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author caozhiren
 * @since 2024-09-13
 */
@TableName("mai_product_spec")
public class MaiProductSpec implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer specId;

    /**
     * 属性名称
     */
    private String attrName;

    /**
     * 所属商品
     */
    private Integer supId;

    /**
     * 父id
     */
    private Integer parentId;

    public Integer getSpecId() {
        return specId;
    }

    public void setSpecId(Integer specId) {
        this.specId = specId;
    }

    public String getAttrName() {
        return attrName;
    }

    public void setAttrName(String attrName) {
        this.attrName = attrName;
    }

    public Integer getSupId() {
        return supId;
    }

    public void setSupId(Integer supId) {
        this.supId = supId;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    @Override
    public String toString() {
        return "MaiProductSpec{" +
        "specId = " + specId +
        ", attrName = " + attrName +
        ", supId = " + supId +
        ", parentId = " + parentId +
        "}";
    }
}
